﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.WindowsAzure.StorageClient;

namespace LogViewApp.Web
{
    public class LogXmlEntry : TableServiceEntity
    {
        public string LogTime { get; set; }
        public string UploaderName { get; set; }
        public string Description { get; set; }
        public string InstallProduct { get; set; }
        public string Version { get; set; }
        public string ServicePackVersion { get; set; }
        public string CaseNumber { get; set; }
        public string BlobUrl { get; set; }

        public LogXmlEntry()
        {
            PartitionKey = "LogXmlEntryTable";
            RowKey = string.Format("{0:10}_{1}", DateTime.MaxValue.Ticks - DateTime.Now.Ticks, Guid.NewGuid());
        }
    }
}
